<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                template="./template/HomemasterAd.xhtml"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://xmlns.jcp.org/jsf/core">

    <ui:define name="content_top">
        Feedback
    </ui:define>

    <ui:define name="content">
        <h:form prependId="false">
            <p:dataTable var="fb" value="#{feedbackManagedBean.sudungtruyvanAll()}" rows="10" paginator="true" rowsPerPageTemplate="10,20,30">
                <p:column>
                    <f:facet name="header">Question</f:facet>
                    #{fb.question}
                </p:column>
                <p:column>
                    <f:facet name="header">Username</f:facet>
                    #{fb.username.username}
                </p:column>
                <p:column>
                    <f:facet name="header">Fullname</f:facet>
                    #{fb.username.fullname}
                </p:column>
                <p:column>
                    <f:facet name="header">Email</f:facet>
                    #{fb.username.email}
                </p:column>
            </p:dataTable>
        </h:form>
    </ui:define>

</ui:composition>
